﻿using System;
using System.Runtime.InteropServices;

namespace AwesomeChromeFormUI.Native
{
    public class User32ApiNativeMethods
    {
        [DllImport("user32.dll")]
        public static extern bool ReleaseCapture();
        [DllImport("user32.dll")]
        public static extern bool SendMessage(IntPtr hwnd, int wMsg, int wParam, int IParam);
        /// <summary>
        /// 系统命令
        /// </summary>
        public const int WM_SYSCOMMAND = 0x0112;
        /// <summary>
        /// 移动窗口的系统命令
        /// </summary>
        public const int SC_MOVE = 0xF010;
        /// <summary>
        /// 鼠标位于窗口的标题栏上
        /// </summary>
        public const int HTCAPTION = 0x0002;

    }
}
